package cn.iocoder.yudao.module.api.member.alliance.vo;

import cn.iocoder.yudao.framework.business.basic.pojo.vo.UserSimpleVO;
import cn.iocoder.yudao.framework.business.eligibility.pojo.vo.EligibilityApplyVO;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import cn.iocoder.yudao.module.api.member.alliance.enums.CloudAllianceTypeEnum;
import cn.iocoder.yudao.module.api.shop.info.dto.ShopInfoDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "云盟商申请信息 Response VO")
@Data
public class CloudAllianceApplyVO extends EligibilityApplyVO {

    @Schema(description = "前台用户信息")
    private UserSimpleVO user;

    @Schema(description = "类型：1-用户、2-商户", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @InEnumValue(CloudAllianceTypeEnum.class)
    private Integer type;

    @Schema(description = "类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String typeName;

    @Schema(description = "店铺编号", example = "1")
    private Long shopId;

    @Schema(description = "店铺信息")
    private ShopInfoDTO shop;

    @Schema(description = "套餐编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long packageId;

}
